import { createStateContext } from 'react-use';

type State = {
  percent?: number | string | Array<number | string>;
};

const [useProgressContext, ProgressContextProvider] = createStateContext<State>({});

export { useProgressContext, ProgressContextProvider };
